package com.jinlejia.bbs.http.entity.base;

import java.util.List;

/**
 * @author 王进 on 2019/3/22.
 */

public class PageEntity<T> {
    private int totalItem; //总条数
    private boolean nextPageAvailable;  //是否有下一页 true:有 false:没有
    private List<T> data;

    public int getTotalItem() {
        return totalItem;
    }

    public void setTotalItem(int totalItem) {
        this.totalItem = totalItem;
    }

    public boolean getNextPageAvailable() {
        return nextPageAvailable;
    }

    public void setNextPageAvailable(boolean nextPageAvailable) {
        this.nextPageAvailable = nextPageAvailable;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
